package com.qf.spring2202.customfactory.impl;

import com.qf.spring2202.customfactory.entity.User;
import com.qf.spring2202.customfactory.service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public User getUser(Integer id) {
        System.out.println("UserServiceImpl 的 getUser 执行了 ......");
        User user = new User();
        user.setId(id);
        user.setName("lisi");
        return user;
    }
}
